<template>
	<view class="common">

		<uni-nav-bar color="#fff" background-color="rgba(255,255,255,0)" :border="false" left-icon="left" status-bar
			title="预约详情" @clickLeft="back" />
		<view class="main">
			<view class="part1">
				<view>
					<span>核销码:</span> ACKJBA
				</view>
				<image src="/pacakgeRepair/static/code.png" mode=""></image>

			</view>
			<view class="part2">
				<view class="title">维修信息</view>
				<view class="list">
					<view class="item">
						<view class="left">
							维修单号:
						</view>
						<view class="right">
							3556695
						</view>
					</view>
					<view class="item">
						<view class="left">
							维修状态:
						</view>
						<view class="right">
							3556695
						</view>

					</view>
					<view class="item">
						<view class="left">
							车主姓名:
						</view>
						<view class="right">
							3556695
						</view>

					</view>
					<view class="item">
						<view class="left">
							联系方式:
						</view>
						<view class="right">
							3556695
						</view>

					</view>

				</view>

			</view>
			<view class="part3">
				<view class="title">
					车辆信息
				</view>
				<view class="item">
					<view class="left">
						联系方式:
					</view>
					<view class="right">
						3556695
					</view>

				</view>
				<view class="item">
					<view class="left">
						联系方式:
					</view>
					<view class="right">
						3556695
					</view>

				</view>
				<view class="item">
					<view class="left">
						联系方式:
					</view>
					<view class="right">
						3556695
					</view>
				</view>
				<view class="item">
					<view class="left">
						整车照片
					</view>
					<view class="right">

					</view>
				</view>
				<view class="item buwei">
					<image src="/pacakgeRepair/static/code.png" mode=""></image>
				</view>
				<view class="item">
					<view class="left">
						维修补位
					</view>
					<view class="right">
				
					</view>
				</view>
				<view class="item buwei">
					<image src="/pacakgeRepair/static/code.png" mode=""></image>
					<image src="/pacakgeRepair/static/code.png" mode=""></image>
					<image src="/pacakgeRepair/static/code.png" mode=""></image>
					
					
					
				</view>
				

			</view>
			<view class="blank">
				
			</view>
			
			


		</view>
		<view class="part4">
			
				<view @click="concel">
					取消预约
				</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				})
			},
			concel(){
				uni.showToast({
					title: `取消成功`
				});
			}
		}
	}
</script>

<style scoped>
	.common>.main>* {
		background-color: #fff;
		padding: 30rpx;
	}

	.part1 {
		display: flex;
		flex-direction: column;
		align-items: center;
		row-gap: 10rpx;
	}

	.part1>image {
		width: 200rpx;
		height: 200rpx;
	}

	.title {
		padding-left: 0rpx;
		line-height: 72rpx;
		height: 72rpx;
		font-weight: bold;
		font-size: 35rpx;
		padding: 5rpx 0rpx;
		border-bottom: 8rpx solid #eee;

	}

	/* 列表区 */
	.part2,
	.part3 {
		display: flex;
		flex-direction: column;
		row-gap: 10rpx;
	}

	.list {

		display: flex;
		flex-direction: column;
		row-gap: 10rpx;
	}

	.item {
		display: flex;
		justify-content: space-between;
	}

	.item>.left {

		color: #6d6d6d;
	}

	.item>.right {

		color: #bababa;
	}
	.item image{
		width: 150rpx;
		height: 150rpx;
	}
	.buwei{
		display: flex;
		column-gap: 10rpx;
		flex-direction: row;
		justify-content: flex-start;
	}
	
	.part4{
		display: flex;
		justify-content: flex-end;
		border-radius: 0rpx ;
		position: fixed;
			width: 750rpx;
		bottom: 0rpx;
		right: 5rpx;
		padding: 20rpx 25rpx;
		background-color: #fff;
		
		border-top:4rpx solid #eee; ;
	}
	.part4>view{
		background: linear-gradient(to right, #3789ff ,#0662e6 );
		
		padding: 15rpx 30rpx;
		border-radius: 30rpx ;
		color: #fff;
	}
	
	.common>.main>.blank{
		border-radius: 0rpx ;
		height:0rpx;
		background-color: transparent;
		
	}
	
	/* #ifdef MP */
	.part1,.part2,.part3{
		background-color: #fff;
	}
	/* #endif */
	
</style>